import http from '@/utils/http'

// 获取平台列表
export const getBctypedata = query =>
    http.get(`/platform/bc_type_data`, {
        params: query,
    })

// 获取分组列表
export const getGrouplist = query =>
    http.get(`/group/list`, {
        params: query,
    })

// 获取货币列表
export const getMoneylist = query =>
    http.get(`/money/list`, {
        params: query,
    })

// 获取来源列表
export const getSourcelist = query =>
    http.get(`/source/list`, {
        params: query,
    })

// 获取上级代理列表
export const getAgentParentagentlist = query =>
    http.get(`/agent/parent_agent_list`, {
        params: query,
    })

// 获取代理IP列表
export const getProxyipListbytype = query =>
    http.get(`/proxyip/list_bytype`, {
        params: query,
    })